package com.aliyun.messagemgt.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.aliyun.messagemgt.dto.vo.DepVo;

import java.util.List;

/**
 * @Author: zhangbixing
 * @Date: 2019/3/18 16:16
 * @description:
 */
public class OperateLogExportModel {
    /**
     * 操作记录id
     */
    private Integer operateId;
    /**
     * 操作资源类型
     */
    @ExcelProperty(value = "操作类目",index = 4)
    private String operateResourceTypeName;

    private Integer operateResourceType;
    /**
     * 操作资源ID
     */
    private Integer operateResourceId;
    /**
     * 操作资源名称
     */

    private String operateResourceName;
    /**
     * 操作状态
     */
    private Integer operateStatus;
    /**
     * 操作类型
     */
    private Integer operateType;
    /**
     * 操作失败信息
     */
    private String failMsg;
    /**
     * 操作人
     */
    private String operateUser;
    /**
     * 操作人姓名
     */
    @ExcelProperty(value = "操作人姓名",index = 2)
    private String operateUserName;
    /**
     * 部门变号
     */

    private String operateDept;
    /**
     * 部门名称
     */
    @ExcelProperty(value = "操作人部门",index = 3)
    private String operateDeptName;
    /**
     * 操作时间
     */
    @ExcelProperty(value = "操作时间",index = 1)
    private String operateTime;


    private List<DepVo> depVos;

    @ExcelProperty(value = "操作详情",index = 5)
    private String details;

    private String operateTypeName;

    private String module;

    public Integer getOperateId() {
        return operateId;
    }

    public OperateLogExportModel setOperateId(Integer operateId) {
        this.operateId = operateId;
        return this;
    }

    public Integer getOperateResourceType() {
        return operateResourceType;
    }

    public OperateLogExportModel setOperateResourceType(Integer operateResourceType) {
        this.operateResourceType = operateResourceType;
        return this;
    }

    public Integer getOperateResourceId() {
        return operateResourceId;
    }

    public OperateLogExportModel setOperateResourceId(Integer operateResourceId) {
        this.operateResourceId = operateResourceId;
        return this;
    }

    public String getOperateResourceName() {
        return operateResourceName;
    }

    public OperateLogExportModel setOperateResourceName(String operateResourceName) {
        this.operateResourceName = operateResourceName;
        return this;
    }

    public Integer getOperateStatus() {
        return operateStatus;
    }

    public OperateLogExportModel setOperateStatus(Integer operateStatus) {
        this.operateStatus = operateStatus;
        return this;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public OperateLogExportModel setOperateType(Integer operateType) {
        this.operateType = operateType;
        return this;
    }

    public String getFailMsg() {
        return failMsg;
    }

    public OperateLogExportModel setFailMsg(String failMsg) {
        this.failMsg = failMsg;
        return this;
    }

    public String getOperateUser() {
        return operateUser;
    }

    public OperateLogExportModel setOperateUser(String operateUser) {
        this.operateUser = operateUser;
        return this;
    }

    public String getOperateUserName() {
        return operateUserName;
    }

    public OperateLogExportModel setOperateUserName(String operateUserName) {
        this.operateUserName = operateUserName;
        return this;
    }

    public String getOperateDept() {
        return operateDept;
    }

    public OperateLogExportModel setOperateDept(String operateDept) {
        this.operateDept = operateDept;
        return this;
    }

    public String getOperateDeptName() {
        return operateDeptName;
    }

    public OperateLogExportModel setOperateDeptName(String operateDeptName) {
        this.operateDeptName = operateDeptName;
        return this;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public OperateLogExportModel setOperateTime(String operateTime) {
        this.operateTime = operateTime;
        return this;
    }

    public List<DepVo> getDepVos() {
        return depVos;
    }

    public OperateLogExportModel setDepVos(List<DepVo> depVos) {
        this.depVos = depVos;
        return this;
    }

    public String getOperateResourceTypeName() {
        return operateResourceTypeName;
    }

    public OperateLogExportModel setOperateResourceTypeName(String operateResourceTypeName) {
        this.operateResourceTypeName = operateResourceTypeName;
        return this;
    }

    public String getDetails() {
        return details;
    }

    public OperateLogExportModel setDetails(String details) {
        this.details = details;
        return this;
    }

    public String getOperateTypeName() {
        return operateTypeName;
    }

    public OperateLogExportModel setOperateTypeName(String operateTypeName) {
        this.operateTypeName = operateTypeName;
        return this;
    }

    public String getModule() {
        return module;
    }

    public OperateLogExportModel setModule(String module) {
        this.module = module;
        return this;
    }

    @Override
    public String toString() {
        return "OperateLogExportModel{" +
                "operateId=" + operateId +
                ", operateResourceTypeName='" + operateResourceTypeName + '\'' +
                ", operateResourceType=" + operateResourceType +
                ", operateResourceId=" + operateResourceId +
                ", operateResourceName='" + operateResourceName + '\'' +
                ", operateStatus=" + operateStatus +
                ", operateType=" + operateType +
                ", failMsg='" + failMsg + '\'' +
                ", operateUser='" + operateUser + '\'' +
                ", operateUserName='" + operateUserName + '\'' +
                ", operateDept='" + operateDept + '\'' +
                ", operateDeptName='" + operateDeptName + '\'' +
                ", operateTime='" + operateTime + '\'' +
                ", depVos=" + depVos +
                ", details='" + details + '\'' +
                ", operateTypeName='" + operateTypeName + '\'' +
                ", module ='" + module + '\'' +
                '}';
    }
}
